 <div class="container">
<?php
if (empty($datalist)) {
	echo "<h3>Data masih kosong!</h3>";
}
else {
?>
			<table id="my_data_list" class="table table-striped table-bordered" cellspacing="0" width="100%">
				<thead>
					<tr>
						<th>ID</th>
						<th>Nama</th>
						<th>Username</th>
						<th>Password</th>
						<th>Role</th>
						<th>Bagian</th>
						<th>Departemen</th>
						<th>NIK</th>
						<th>Jabatan</th>
						<th>Aksi</th>
					</tr>
				</thead>
				<tbody>
				<?php
				$no = 1;
				foreach ($datalist as $data):
				?>
					<tr>
						<td><?php echo $data->ID_USER; ?></td>
						<td><?php echo $data->NAMA; ?></td>
						<td><?php echo $data->USERNAME; ?></td>
						<td><?php echo $data->PASSWORD; ?></td>
						<td><?php echo $data->ROLE; ?></td>
						<td><?php echo $data->BAGIAN; ?></td>
						<td><?php echo $data->Departemen; ?></td>
						<td><?php echo $data->NIK; ?></td>
						<td><?php echo $data->Jabatan; ?></td>
						<td><a href="<?php echo base_url();?>index.php/usman/ubah/<?php echo $data->ID_USER; ?>">Ubah</a> | <a href="<?php echo base_url();?>index.php/usman/hapus/<?php echo $data->ID_USER; ?>">Hapus</a></td>
					</tr>
				<?php
				$no++;
				endforeach;
				?>
				</tbody>
			</table><?php } ?>
		</div>
		</body></html>